package com.doform.android.xianggucheng.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 作者 Y_MS
 * Created by ${APEN} on 2017/5/27.
 * GitHub：https://github.com/cxydxpx
 */

public class ArticleCategoryBean extends ErrorInfoBean{

        /**
         * data : [{"clsname":"粮食","corder":"255","fid":"0","id":"1929"},{"clsname":"淡水鱼","corder":"255","fid":"0","id":"1901"},{"_child":[{"clsname":"黑米","corder":"255","fid":"1746","id":"2107"}],"clsname":"大米","corder":"255","fid":"0","id":"1746"},{"clsname":"猪副","corder":"255","fid":"0","id":"1481"}]
         * pagetotal : 1
         * rowtotal : 6
         */

        private int pagetotal;
        private String rowtotal;
        private List<DataBean> data;

        public int getPagetotal() {
            return pagetotal;
        }

        public void setPagetotal(int pagetotal) {
            this.pagetotal = pagetotal;
        }

        public String getRowtotal() {
            return rowtotal;
        }

        public void setRowtotal(String rowtotal) {
            this.rowtotal = rowtotal;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * clsname : 粮食
             * corder : 255
             * fid : 0
             * id : 1929
             * _child : [{"clsname":"黑米","corder":"255","fid":"1746","id":"2107"}]
             */

            private String clsname;
            private String corder;
            private String fid;
            private String id;
            private List<ChildBean> _child = new ArrayList<>();

            public String getClsname() {
                return clsname;
            }

            public void setClsname(String clsname) {
                this.clsname = clsname;
            }

            public String getCorder() {
                return corder;
            }

            public void setCorder(String corder) {
                this.corder = corder;
            }

            public String getFid() {
                return fid;
            }

            public void setFid(String fid) {
                this.fid = fid;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public List<ChildBean> get_child() {
                return _child;
            }

            public void set_child(List<ChildBean> _child) {
                this._child = _child;
            }

            public static class ChildBean {
                /**
                 * clsname : 黑米
                 * corder : 255
                 * fid : 1746
                 * id : 2107
                 */

                private String clsname;
                private String corder;
                private String fid;
                private String id;

                public String getClsname() {
                    return clsname;
                }

                public void setClsname(String clsname) {
                    this.clsname = clsname;
                }

                public String getCorder() {
                    return corder;
                }

                public void setCorder(String corder) {
                    this.corder = corder;
                }

                public String getFid() {
                    return fid;
                }

                public void setFid(String fid) {
                    this.fid = fid;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }
            }
        }
}
